-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP v0.5.0-rc.2 #3
base: master
Are you sure you want to change the base?
Conversation
I don't have an explanation why the rust std print macros panic, but this fixes rwf2#2019 Tested with and without redirecting. Log output looks like usual.
needs secure feature for signed and private cookies
Fixes rwf2#2063 In cookies::CookieJar::get_private_pending() is no decrypt of pending cookie possible, because pending cookies are just operated before server sends response and so cookies are not yet encrypted. Just return the cookie as it is.
Dependency multer -> spin doesn't build below rust 1.51.0 which seems to be related to * atomic::spin_loop_hint has been deprecated. It's recommended to use hint::spin_loop instead.
resolving fails below because of crate time
cargo resolving fails below because of crate time
Testing combination of non-private/private cookies and if private ones get en- and decrypted.
Documentation and Site must be done later.
fix(log): implement print macros without panic
fix: CookieJar::get_private_pending() rwf2#2063
There will be some dep updates
Hides an unused warning. Added a TODO comment because it is not clear what might be the purpose of the field.
the output messages differ between stable and msrv
@@ -119,6 +117,7 @@ impl Poolable for diesel::SqliteConnection { | |||
type Error = std::convert::Infallible; | |||
|
|||
fn pool(db_name: &str, rocket: &Rocket<Build>) -> PoolResult<Self> { | |||
use std::time::Duration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you moving the use statement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused depending on feature compilation
BuildError::Backend(e) => Error::Init(e), | ||
BuildError::NoRuntimeSpecified(e_msg) => { | ||
// it is set above in builder, so panic here | ||
panic!("init failed to set runtime: {}", e_msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may result in poor user-experience.
If crashing is the only option - it would be nice to at least explain to the user what is missing and how to fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it will not because this can only happen if we had forgot to set the runtime above.
* Metadata is pub(crate) * derive Debug, Clone is at the moment not used * field query_segs is only written, but not read
* unused cleaned up * paths changed in output * compiler messages changed
This branch is based on the earlier PRs and it is NOT intended for NOW being merged...
Just to follow what is going on...
You can give me in comments some hints for what is ready to be pulled from other PRs!
My intention is to continue with these next steps...
2, 3 and 4 in some round-robin fashion.
Always welcome are updates to website and documentation. My mother language is not English and so I would maybe produce some amusement and obscurities. ;-)